<?php

class AdminController extends CController
{

    public $layout = 'layout';
    public $menu = array();
    public $breadcrumbs = array();

    public function filters()
    {
	return array(
	    'accessControl',
	);
    }

    public function accessRules()
    {
	return array(
	    array('allow',		
		'roles' => array('admin'),
	    ),
	    array('deny',		
		'users' => array('*'),
	    )
	);
    }

}
